Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Commit d586c1a861f50e838566c01cb8c1dde1a372eee1


Parents : 3d3282d
Author : Ivan <ivan@quad4.io>
Signature : Invalid signer <e46112d44649266d71fe2193e00a4710>, author is <ivan@quad4.io>
Date : 2026-06-20T17:05:48-05:00

chore(build): install OpenSSL 3 and update build flags for cryptography 49.0.0

Changes

3 files changed, 18 insertions(+), 7 deletions(-)


Diff

diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml
index 95312afb..409ac358 100644
--- a/.github/workflows/build-release.yml
+++ b/.github/workflows/build-release.yml
@@ -487,10 +487,16 @@ jobs:
run: |
set -euo pipefail
_codec2="$(arch -x86_64 /usr/local/bin/brew --prefix codec2)"
- export LDFLAGS="-L${_codec2}/lib -arch x86_64"
- export CPPFLAGS="-I${_codec2}/include"
- export PKG_CONFIG_PATH="${_codec2}/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig"
+ arch -x86_64 /usr/local/bin/brew install openssl@3
+ _openssl="$(arch -x86_64 /usr/local/bin/brew --prefix openssl@3)"
+ export LDFLAGS="-L${_codec2}/lib -L${_openssl}/lib -arch x86_64"
+ export CPPFLAGS="-I${_codec2}/include -I${_openssl}/include -arch x86_64"
+ export PKG_CONFIG_PATH="${_codec2}/lib/pkgconfig:${_openssl}/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig"
+ export OPENSSL_DIR="${_openssl}"
+ export OPENSSL_LIB_DIR="${_openssl}/lib"
+ export OPENSSL_INCLUDE_DIR="${_openssl}/include"
arch -x86_64 "$PY_X64" -m pip install -U pip setuptools wheel
+ arch -x86_64 "$PY_X64" -m pip install --prefer-binary "cryptography==49.0.0"
arch -x86_64 "$PY_X64" -m pip install "cx-freeze>=7.0.0"
arch -x86_64 "$PY_X64" -m pip install -e .
arch -x86_64 "$PY_X64" scripts/patch_lxst_pyogg_ogg_ctypes.py

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index dc4c8be3..6faa134b 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -136,10 +136,16 @@ jobs:
run: |
set -euo pipefail
_codec2="$(arch -x86_64 /usr/local/bin/brew --prefix codec2)"
- export LDFLAGS="-L${_codec2}/lib -arch x86_64"
- export CPPFLAGS="-I${_codec2}/include"
- export PKG_CONFIG_PATH="${_codec2}/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig"
+ arch -x86_64 /usr/local/bin/brew install openssl@3
+ _openssl="$(arch -x86_64 /usr/local/bin/brew --prefix openssl@3)"
+ export LDFLAGS="-L${_codec2}/lib -L${_openssl}/lib -arch x86_64"
+ export CPPFLAGS="-I${_codec2}/include -I${_openssl}/include -arch x86_64"
+ export PKG_CONFIG_PATH="${_codec2}/lib/pkgconfig:${_openssl}/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig"
+ export OPENSSL_DIR="${_openssl}"
+ export OPENSSL_LIB_DIR="${_openssl}/lib"
+ export OPENSSL_INCLUDE_DIR="${_openssl}/include"
arch -x86_64 "$PY_X64" -m pip install -U pip setuptools wheel
+ arch -x86_64 "$PY_X64" -m pip install --prefer-binary "cryptography==49.0.0"
arch -x86_64 "$PY_X64" -m pip install "cx-freeze>=7.0.0"
arch -x86_64 "$PY_X64" -m pip install -e .
arch -x86_64 "$PY_X64" scripts/patch_lxst_pyogg_ogg_ctypes.py

diff --git a/android/chaquopy-recipes/cryptography-49/meta.yaml b/android/chaquopy-recipes/cryptography-49/meta.yaml
index dea67b47..1d661422 100644
--- a/android/chaquopy-recipes/cryptography-49/meta.yaml
+++ b/android/chaquopy-recipes/cryptography-49/meta.yaml
@@ -5,6 +5,5 @@ package:
requirements:
build:
- rust
- - maturin>=1.13.2
host:
- openssl


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────